<%@page contentType="text/html;charset=utf-8"%>
<%@include file="../common/taglib.jsp"%>
<link href="${pageContext.request.contextPath}/css/book_head.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/prototype-1.6.0.3.js"></script>
<script type="text/javascript">
	function load(url,id){
		new Ajax.Request(url, {
			method :'get',
			onSuccess : function(req) {
			var resHtmlText=req.responseText;
			var element=document.getElementById(id);
			element.innerHTML=resHtmlText;
		}});
	}
</script>
<script>
	function checkEmail(url,eInput){
		var paras ="email=" + eInput.value;
		var myAjax = new Ajax.Request(url, {
			method : 'post',
			parameters : paras,
			onComplete : checkEmailBack
			}
		);
	}

	function checkEmailBack(rs){
		if(rs.responseText != ""){		
			var element=document.getElementById(id);
			element.innerHTML=rs.responseText;
		}
	}
</script>
<div class="head_container">
	<div class="head_welcome">
		<div class="head_welcome_right">
			<span class="head_welcome_text"> </span>
			<span class="head_welcome_text"> <span class="little_n">
					| <a href="#" name="mydangdang" class="head_black12a">我的当当</a> | <a
					href="#" name="helpcenter" class="head_black12a" target="_blank">帮助</a>
					| </span> </span>
			<div class="cart gray4012">
				<a href="showCart.action">购物车</a>
			</div>
		</div>
		
		<!--用于显示登录信息-->
		<span class="head_toutext" id="info"></span>
		<!--访问loginInfo.action把得到的页面（login_info.jsp）填充到id为‘info’的html元素中-->
		<script type="text/javascript">
			load('loginInfo.action','info');
		</script>
	
	</div>
	<div class="head_head_list">
		<div class="head_head_list_left">
			<span class="head_logo"><a href="#" name="backtobook"><img
						src="<%=request.getContextPath()%>/images/booksaleimg/book_logo.gif" />
			</a> </span>
		</div>
		<div class="head_head_list_right">

			<div class="head_head_list_right_b">
			</div>
		</div>
	</div>
	<div class="head_search_div">

	</div>
	<div class="head_search_bg"></div>
</div>